package com.onstar.cn.api.v3;

import com.onstar.cn.api.framework.BaseApiService;
import com.onstar.cn.api.framework.annotation.Path;
import com.onstar.cn.api.framework.annotation.RequestMapping;
import com.onstar.cn.framework.network.entity.RequestEntity;

/**
 * Created by 7828wc on 16/7/18.
 */
@Path("/msp/api/v3/user")
public class UserService extends BaseApiService {
    public UserService(String serverUrl) {
        super(serverUrl);
    }

    @RequestMapping("/subscriber/basic_info")
    public RequestEntity getPresonalInfomation(RequestEntity requestEntity) {
        return super.getURLRequestEntity("getPresonalInfomation", null, requestEntity);
    }
    @RequestMapping("/subscriber/basic_info")
    public RequestEntity getPresonalInfomation(RequestEntity requestEntity,String body) {
        return super.getURLRequestEntity("getPresonalInfomation", body, requestEntity);
    }
}
